package com.xubeizhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xubeizhi.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
    User selectUsernameAndPassword(@Param("username")String username,@Param("password")String password);
}
